import { IServers, KoaCtx, ISessionHandler } from "../interface/IFace";

export default class Session{
    protected _handle:ISessionHandler;
    constructor(ctx:KoaCtx){

    }   
    public set(key:string,value:any){
        return this._handle.set(key,value)
    }
    public get(key:string){
        return this._handle.get(key)
    }
    public create(id:string){
        return this.create(id)
    }
    public destory(){
        return this.destory();
    }
}